Problem Note 38676: An error occurs when you use the COMPLETE=, the NOPROMPT=, or the REQUIRED= connection options to connect to the Aster nCluster database
In SAS/ACCESS® Interface to Aster nCluster, the following error occurs when you use the COMPLETE=, the NOPROMPT=, or the REQUIRED= connection options in a LIBNAME statement:
ERROR: CLI error trying to establish connection: [Microsoft]
[ODBC Driver Manager] Data source name not found and no default driver specified
ERROR: Error in the LIBNAME statement.
An error message is received if there is a blank space within the quotation marks in the connection option. For example, the following LIBNAME statement connects successfully to the database:
libname x sasioast noprompt="driver=nCluster;server=did-queen;database=test;uid=dbitest;pwd=dbigrp1;port=2406;";
However, in the following LIBNAME statement, the database connection fails because a blank space appears before the SERVER= parameter:
libname x sasioast noprompt="driver=nCluster; server=did-queen;database=test;uid=dbitest;pwd=dbigrp1;port=2406;";
This problem occurs because the ODBC driver and driver manager do not permit blank spaces within the quotation marks of the NOPROMPT="CLI-connection-string", REQUIRED="CLI-connection-string", and COMPLETE="CLI-connection-string" connection options. To avoid the problem, make sure that all blank spaces within the quotation marks are removed.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Aster nCluster | Linux | 9.2 TS2M2 | 9.2 TS2M3 |
Linux for x64 | 9.2 TS2M2 | 9.2 TS2M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Data Sources ==> External Databases ==> AsterData
|
Date Modified: | 2010-04-22 15:47:05 |
Date Created: | 2010-02-09 15:04:49 |